package com.asset.inventory.kt

import android.content.Context
import android.widget.Toast

/**
 *    @author : sibb
 *    date   : 21-4-2
 *    desc   : tost 工具类
 */

fun Context.toast(text: String){
    Toast.makeText(this,text,Toast.LENGTH_SHORT).show()
}

fun Context.toast(resId: Int){
    Toast.makeText(this,resId,Toast.LENGTH_SHORT).show()
}
